package org.example.modules.sys.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

public enum UserStatusEnum implements IEnum<Integer> {
    IS_LOCK(0),

    NOT_LOCK(1);

    @EnumValue
    @JsonValue
    private final int value;

    UserStatusEnum(int value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
